-- GENERATED SPELL FOR [Mossflayer Scout] --


function spell0_8560(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(9080,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8560', 10323, 1)
end

function Sorts_8560(pUnit, Event)
local choix_sorts_8560 = math.random(0, 0)
if choix_sorts_8560 == 0 then
pUnit:RegisterEvent('spell0_8560', 1, 1)
end
end

function mob8560_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8560', math.random(1500, 3000), 1)
end

function mob8560_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8560_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8560_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8560, 1, 'mob8560_Action')
RegisterUnitEvent(8560, 2, 'mob8560_Leave')
RegisterUnitEvent(8560, 3, 'mob8560_Kill')
RegisterUnitEvent(8560, 4, 'mob8560_Die')
